package com.office.api;

/*import org.springframework.ai.chat.ChatResponse;*/
//import reactor.core.publisher.Flux;

import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

/**
 * ai
 * @author 数字牧马人
 */
public interface IAiService {

    ChatResponse generate(String model, String message);

    Flux<ChatResponse> generateStream(String model, String message);

    Flux<String> generateStreamRag(String model, String ragTag, String message);

}
